
#encoding=UTF-8

from Error import *
from Building import *

class ArmyCamp(Building):
	def __init__(self):
		Building.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Army_Camp"
		self.number_available_dsec = """
1	1	2	2	3	3	4	4	4	4
"""
		self.level_info_desc = """
1	20	400	250	5 minutes	17	1
2	30	500	2,500	1 hour	60	2
3	35	600	10,000	3 hours	103	3
4	40	700	100,000	8 hours	169	4
5	45	800	250,000	1 day	293	5
6	50	1,000	750,000	3 days	509	6
7	55	1,200	2,250,000	5 days	657	9
8	60	1,400	6,750,000	10 days	929	10
"""
		self._DoParse()

	def _HitPointsIndex(self):
		return 2

	def _BuildCostType(self):
		return 1 #Elixir

	def _BuildCostIndex(self):
		return 3

	def _BuildTimeIndex(self):
		return 4

	def _ExperienceGainedIndex(self):
		return 5

	def _TownHallLevelRequiredIndex(self):
		return 6

